/**
 * @author rdiazalbertini
 */
var appDepot = Class.create({
	dbName:"scDB",
	initialize: function(){
		db = new Mojo.Depot({name:this.dbName, version:1, replace: false}, 
		     this.dbOpenOK.bind(this), this.dbOpenFail.bind(this)); 
	
	},
	dbOpenOK:function(transaction, result){
		//get top Record
		
	},
	dbOpenFail:function(transaction,result){
		Mojo.Log.error("Error in opening db");
	},
	
	
	
	
	
	
	
	
	
	
	
	
});